package net.stogi.dsper.ui.shared.module.datasource;

import net.stogi.common.gwt.dispatch.shared.core.Action;
import net.stogi.dsper.api.dto.DataSourceDto;

public class SaveDataSourceAction implements Action<SaveDataSourceResult> {

	private static final long serialVersionUID = -7220494369240440138L;

	private DataSourceDto dataSource;

	public SaveDataSourceAction(DataSourceDto dataSource) {
		this.dataSource = dataSource;
	}

	protected SaveDataSourceAction() {}

	/**
	 * @return the dataSource
	 */
	public DataSourceDto getDataSource() {
		return dataSource;
	}

	/**
	 * @param dataSource
	 *            the dataSource to set
	 */
	public void setDataSource(DataSourceDto dataSource) {
		this.dataSource = dataSource;
	}
}
